<template>
  <div class="full-screen-cele" id="test">
    <div class="avatar-frame"/>
    <img class="avatar" src="">
    <div class="welcome">
      欢迎 冰绒冷焰 加入大航海
    </div>
  </div>
</template>

<script>
export default {
  name: "CeleRenderer"
}
</script>

<style scoped>
@font-face {
  font-family: 'SmileySans-Oblique';
  font-style: normal;
  src: url(https://i1.xuehusang.cn/font/SmileySans-Oblique-2.ttf) format('truetype');
}

.full-screen-cele {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  background-image: url("https://i1.xuehusang.cn/static/fullScreenCele/%E8%83%8C%E6%99%AF.webp");
}


.welcome {
  opacity: 0;
  font-family: SmileySans-Oblique;
  font-size: 80px;
  color: #6598D1;
  display: table;
  margin: 840px auto;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1),rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  padding: 10px 150px;
  animation: fadeInAndOut 4s;
  animation-delay: 0.7s;
}

.avatar {
  opacity: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  position: absolute;
  top: 335px;
  left: 845px;
  animation: fadeInAndOut 4s;
  animation-delay: 0.5s;
}

.avatar-frame {
  opacity: 0;
  width: 478px;
  height: 423px;
  border: 0px transparent solid;
  background-image: url("https://i1.xuehusang.cn/static/fullScreenCele/%E5%A4%B4%E5%83%8F.webp");
  position: absolute;
  left: 730px;
  top: 255px;
  background-size: 100% 100%;
  z-index: 10;
  animation: fadeInAndOut 4s;
  animation-delay: 0.5s;
}

@keyframes fadeInAndOut {
  0% {
    opacity: 0;
    scale: 0.8;
  }
  23% {
    opacity: 1;
    scale: 1;
  }
  75% {
    opacity: 1;
    transform: translatex(0);
  }
  100% {
    opacity: 0;
  }
}
</style>